package com.iwhalecloud.citybrain.flow.platform.manager.application.service.impl;

import lombok.extern.slf4j.Slf4j;
import org.flowable.engine.delegate.DelegateExecution;
import org.springframework.stereotype.Service;

/**
 * @author lilh
 * @date 2021/4/8 11:23
 */
@Slf4j
@Service
public class ConditionResolver {

    public boolean resolve(DelegateExecution execution) {
        log.info("从execution中获取变量day为： {}" , execution.getVariable("day"));
        return true;
    }
}
